import org.junit.Assert;
import org.junit.Test;
    public class NGuessNumberTest {
        private NGuessNumber nGuessNumber;
        @Test
        public void generateAnswerTest() {
            Assert.assertEquals(4,NGuessNumber.generateAnswer().length);
        }
        @Test
        public void getPlayerInputTest() {
            Assert.assertEquals(4,NGuessNumber.getPlayerInput().length);
        }
        @Test
        public void compareGuessAnswerTest(){
            Assert.assertEquals(4,NGuessNumber.compareGuessAnswer(NGuessNumber.generateAnswer(),NGuessNumber.getPlayerInput()));
        }
        @Test
        public void isWinTest(){
            Assert.assertEquals(true,NGuessNumber.isWin(NGuessNumber.compareGuessAnswer(NGuessNumber.generateAnswer(),NGuessNumber.getPlayerInput())));
        }
    }
}
